import time
s=0
ww=0
w=0
a=int(input("前进几？"))
if a==1 or a<1:
    g=10
    G=10
if a==2:
    g=50
    G=50
if a==3 or a>3:
    g=100
    G=100
while ww<3:
    s+=g*10
    w+=s
    g+=G*10
    if w>60000 and ww==0:
        ww=1
        print("飞出地球")
        time.sleep(1)
    if w>3000000 and ww==1:
        print("飞出月球")
        ww=2
        time.sleep(1)
    if w>10000000 and ww==2:
        print("飞出地球引力范围")
        ww=3
        time.sleep(1)
    print(f"现在距离地球{w}米({w/1000}千米),速度{s}米每秒({s/1000}千米每秒)")
    time.sleep(0.001)
gm=300000000
w=7*60*gm
while ww<11:
    s+=g*100
    w+=s
    g+=G*10
    G=G*2
    if w>28*60*gm and ww==3:
        print("飞出火星")
        ww=4
        time.sleep(1)
    if w>2*60*60*gm and ww==4:
        print("飞出小行星带")
        ww=5
        time.sleep(1)
    if w>5*60*60*gm and ww==5:
        print("飞出木星")
        ww=6
        time.sleep(1)
    if w>10*60*60*gm and ww==6:
        print("飞出土星")
        ww=7
        time.sleep(1)
    if w>20*60*60*gm and ww==7:
        print("飞出天王星")
        ww=8
        time.sleep(1)
    if w>24*60*60*gm and ww==8:
        print("飞出海王星")
        ww=9
        time.sleep(1)
    if w>365*24*60*60*gm and ww==9:
        print("飞出太阳系")
        ww=10
        time.sleep(1)
    if w>13600000000*365*24*60*60*gm and ww==10:
        print("飞出宇宙")
        ww=11
        time.sleep(10)
    print(f"现在距离太阳{w/(365*24*60*60*gm)},速度{int(s/gm)}光速")
    time.sleep(0.0001)
a=1
time.sleep(1)
b=2
time.sleep(1)
c=3
time.sleep(1)
d=4
time.sleep(1)
e=a+d
time.sleep(1)
f=c*2
time.sleep(1)
print(f)
time.sleep(1)
g=f+2
time.sleep(1)
h=g*2-7
time.sleep(1)
print(h)
time.sleep(1)
j=h+1
time.sleep(1)
i=11
time.sleep(1)
print(i-j)
time.sleep(1)
print(i)
time.sleep(1)
print(j)
time.sleep(1)
print(h+j)
time.sleep(1)
print(2*i)
time.sleep(1)
print(10*j)